<%@ page contentType="text/html; charset=UTF-8" %>
<html>
<head>
    <title>Spring MVC表单处理</title>
    <link rel="stylesheet" type="text/css" href="../css/style.css"/>
</head>
<body>

<h2>Student Information</h2>

<form action="addStudent" id="studentForm" method="POST">
<div class="formDiv">
<label for="name">姓名：</label>
<input type="text" name="name"/>
</div>
<div class="formDiv">
<label for="age">年龄：</label>
<input type="number" name="age"/>
</div>
<div class="formDiv">
<label for="id">学号：</label>
<input type="number" name="id"/>
</div>
<div class="formDiv">
<input type="submit" value="提交"/>
</div>
</form>
</body>
</html>